// EA_KCollection_BPA.cpp: implementation of the CEA_KCollection_BPA class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "../../Include/Swi/EA_KCollection_BPA.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CEA_KCollection_BPA::CEA_KCollection_BPA()
{

}

CEA_KCollection_BPA::~CEA_KCollection_BPA()
{

}

CEA_K_BPA* CEA_KCollection_BPA::GetFirstEA_K()
{
	return (CEA_K_BPA*)CCardCollection_BPA::GetFirstCard();
}

CEA_K_BPA* CEA_KCollection_BPA::Traverse(CEA_K_BPA *pEA_K, int nDirection)
{
	return (CEA_K_BPA*)CCardCollection_BPA::Traverse(pEA_K,nDirection);
}

CEA_K_BPA* CEA_KCollection_BPA::GetEA_K(char *strBusName, double dkV, char nID)
{
	CEA_K_BPA tempEA_K;
	strcpy(tempEA_K.m_strName,strBusName);
	tempEA_K.m_dkV = dkV;
	tempEA_K.m_chID = nID;
	return (CEA_K_BPA*)CCardCollection_BPA::GetCard(&tempEA_K);
}
